package com.xintonghua.bussiness.api.net;


import org.xutils.http.HttpMethod;
import org.xutils.http.RequestParams;
import org.xutils.x;

public class HttpUtils {

    public static void get(RequestParams params, HttpResponseHandler handler) {
        x.http().get(params, handler);
    }

    public static void post(RequestParams params, HttpResponseHandler handler) {
        x.http().post(params, handler);
    }

    public static void request(HttpMethod method, RequestParams params, HttpResponseHandler handler) {
        x.http().request(method, params, handler);
    }


}